package com.enumTest;

/**
 * <p>Description: [用法一：常量]</p>
 * Created on 2021/1/8
 *
 * @author <a href="mailto: 819712047@qq.com">谢振东 </a>
 * @version 1.0
 */
public class test1 {

    public static void main(String[] args) {
        System.out.println(Color.RED);
        System.out.println(Color.GREEN);
        System.out.println(Color.BLANK);
        System.out.println(Color.YELLOW);
    }

}

enum Color {
    RED, GREEN, BLANK, YELLOW
}